import request from "@/utils/request";

// 获取溯源一级列表数据
export function getSuyuanList(params) {
  return request({
    url: "/getTraceList",
    method: "get",
    params
  });
}

// 获取溯源二级列表数据
export function getSuyuanTwoList(params) {
  return request({
    url: "/getTraceTrueList",
    method: "get",
    params
  });
}

// 获取供应链和供应商
export function getCompanyList(params) {
  return request({
    url: "/getCompanyList",
    method: "get",
    params
  });
}
// 获取食材留样
export function getCompanyVideoList(params) {
  return request({
    url: "/getCompanyVideoList",
    method: "get",
    params
  });
}

